﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Free.Master" Inherits="System.Web.Mvc.ViewPage<AngelEdit>" %>

<%@ Import Namespace="Pp.Globalization" %>
<%@ Import Namespace="Pp.UI.Models" %>
<%@ Import Namespace="Pp.Dto" %>
<%@ Import Namespace="Pp.Core.Extentions" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Sponsor Düzenle</h2>
    <div id="content-panel">
        <%using (Html.BeginForm())
          {%>
        <%=Html.HiddenFor(d=>d.Id) %>
        <%=Html.HiddenFor(d=>d.ProjectId) %>
        <%=Html.TextBox<AngelEdit>(d => d.Name, Res.Label_Name)%>
        <span>
            <%=Html.TextArea<AngelEdit>(d => d.Description, Res.Label_Description, Server.HtmlDecode(Model.Description))%></span>
        <%=Html.FileUploader<AngelEdit>(d => d.LogoFile, Res.Label_Proje_Img_Browse,UploadType.Image)%>
<%--        <img src="<%=Model.Id.ToMediumImageString(ImageType.Angel).ExistImage(Server, ImageType.Angel) %>" />--%>

        <%=Html.AntiForgeryToken() %>
        <%=Html.Submit(Res.Label_Save ,false) %>
        <%} %>
    </div>
</asp:Content>
